<{foreach from=$data item=item}>
<li class="hyhd_con" style="position: relative;">
    <div class="hyhd_topic"><i><{$item.title}><!--<{if $item.userLevel}></i><span class="dj bjk_dj">Lv.<{$item.userLevelHtml}></span><{/if}>--></i></div>
    <{if $item.firstEndTime}>
        <div class="rq-bm-box-time"><{$item.firstEndTime}></div>
    <{/if}>
    <div class="hyhd_img">
        <{if $item.jumpMode eq 1}>
            <a href="<{$item.jumpURL}>">
        <{else}>
            <a href="<{U('Events/info')}>&id=<{$item.id}>">
        <{/if}>
        <img class="uhead" src="<{$preUploadcUrl}><{$item.imgList}>" /></a>

        <{if $item.applyStartTime>$smarty.now &&  $item.model == 'first'}>
            <div class="rq-bm-box mutimer" data-time="<{$item.applyStartTime-$smarty.now}>"></div>
        <{else}>
            <div class="rq-bm-box">
                <span>人气&nbsp;&nbsp;&nbsp;<i><{$item.hot}></i></span>
                <span>报名&nbsp;&nbsp;&nbsp;<i><{$item.applyCount}></i></span>
            </div>
        <{/if}>
    </div>
    <div class="hyhd_address_time">
        <div class="hyhd_list hyhd_address_box"><{$item.showListTime}></div>
        <div class="hyhd_list hyhd_time_box"><{$item.location}></div>
    </div>
    <{if $item.joinStatus}>
        <{if $item.joinStatus eq 6}>
            <div class="hd_btn_2 yjs_2">去报名</div>
        <{else if $item.joinStatus eq 5}>
            <div class="hd_btn_2 yrx_ybm_2">已报名</div>
        <{else}>
            <div class="hd_btn_2 yrx_ybm_2"><{$item.joinStatusHtml}></div>
        <{/if}>
    <{else}>
        <{if $item.applyEndTime>$smarty.now}>
            <{if $item.model == 'first' && $item.applyCount>=$item.places}>
                <div class="hd_btn_2 yjs_2 ">已结束</div>
            <{else}>
                <{if $item.applyStartTime>$smarty.now }>
                    <div class="hd_btn_2 yrx_ybm_2">即将开始</div>
                <{else}>
                    <div class="hd_btn_2 qbm_2"><a class="qbm_2 " href="<{if $item.jumpMode eq 1}><{$item.jumpURL}><{else}><{u('events/apply')}>&id=<{$item.id}><{/if}>" onclick="checkTask(this,'<{$item.id}>');return false;">去报名</a></div>
                <{/if}>
            <{/if}>
        <{else}>
            <div class="hd_btn_2 yjs_2 ">已结束</div>
        <{/if}>
    <{/if}>
</li>
<{/foreach}>
<script>
    $(function () {
        init_mu_timer();
    });
</script>